home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!hpl3sn03.cern.ch
- From: Dan Pop <danpop@mail.cern.ch>
- Newsgroups: comp.lang.c
- Subject: Re: void main() and other atrocities!
- Date: Fri, 2 Feb 1996 14:10:36 +0100
- Organization: CERN European Lab for Particle Physics
- Message-ID: <9602021310.AA05941@dxmint.cern.ch>
- References: <4eduaj$1aq@grouper.Exis.Net> <4eeeso$b5l@fountain.mindlink.net> <4em17r$shq@jaxnet.jaxnet.com> <4emub9$1mo@fountain.mindlink.net> <4epplj$egf@host-3.cyberhighway.net> <DM45HK.4zG@mv.mv.com>
- X-NNTP-Posting-Host: hpl3sn03.cern.ch
- X-Newsreader: NN version 6.5.0 #7 (NOV)
- X-Mail2News-Path: dxmint.cern.ch!hpl3sn03.cern.ch
-
- ENGR@GSSI.MV.COM (Michael Furman) writes:
-
- >And by the way, number of C/C++ implementations allow "void main(.." as a
- >language extension. Don't get me wrong - I strongly don't recommend using
- >this extention, like any unportable staff without some reason - and I
- >can't realize what reason is to use/allow this extention. ^^^^^
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- This is precisely the point. This violation of the standard doesn't buy
- you anything at all, it just reduces the portability of the code.
-
- I guess the main reason for its popularity has to be found in the huge
- number of C books written by brain-dead or incompetent authors (a la
- Schildt). Beginners assume that the author of their book actually knows
- what he's talking about, but this isn't true for _many_ of the C books
- available today.
-
- Dan
- --
- Dan Pop
- CERN, CN Division
- Email: danpop@mail.cern.ch
- Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
-